using Google.ProtocolBuffers;
using micromsg.Proto;
using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
namespace micromsg
{
	[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
	public sealed class UploadVoiceResponse : GeneratedMessageLite<UploadVoiceResponse, UploadVoiceResponse.Builder>
	{
		[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
		public sealed class Builder : GeneratedBuilderLite<UploadVoiceResponse, UploadVoiceResponse.Builder>
		{
			private bool resultIsReadOnly;
			private UploadVoiceResponse result;
			protected override UploadVoiceResponse.Builder ThisBuilder
			{
				get
				{
					return this;
				}
			}
			public override bool IsInitialized
			{
				get
				{
					return this.result.IsInitialized;
				}
			}
			protected override UploadVoiceResponse MessageBeingBuilt
			{
				get
				{
					return this.PrepareBuilder();
				}
			}
			public override UploadVoiceResponse DefaultInstanceForType
			{
				get
				{
					return UploadVoiceResponse.DefaultInstance;
				}
			}
			public string FromUserName
			{
				get
				{
					return this.result.FromUserName;
				}
				set
				{
					this.SetFromUserName(value);
				}
			}
			public string ToUserName
			{
				get
				{
					return this.result.ToUserName;
				}
				set
				{
					this.SetToUserName(value);
				}
			}
			public uint Offset
			{
				get
				{
					return this.result.Offset;
				}
				set
				{
					this.SetOffset(value);
				}
			}
			public uint Length
			{
				get
				{
					return this.result.Length;
				}
				set
				{
					this.SetLength(value);
				}
			}
			public uint CreateTime
			{
				get
				{
					return this.result.CreateTime;
				}
				set
				{
					this.SetCreateTime(value);
				}
			}
			public string ClientMsgId
			{
				get
				{
					return this.result.ClientMsgId;
				}
				set
				{
					this.SetClientMsgId(value);
				}
			}
			public uint MsgId
			{
				get
				{
					return this.result.MsgId;
				}
				set
				{
					this.SetMsgId(value);
				}
			}
			public uint VoiceLength
			{
				get
				{
					return this.result.VoiceLength;
				}
				set
				{
					this.SetVoiceLength(value);
				}
			}
			public uint EndFlag
			{
				get
				{
					return this.result.EndFlag;
				}
				set
				{
					this.SetEndFlag(value);
				}
			}
			public BaseResponse BaseResponse
			{
				get
				{
					return this.result.BaseResponse;
				}
				set
				{
					this.SetBaseResponse(value);
				}
			}
			public uint CancelFlag
			{
				get
				{
					return this.result.CancelFlag;
				}
				set
				{
					this.SetCancelFlag(value);
				}
			}
			public Builder()
			{
				this.result = UploadVoiceResponse.DefaultInstance;
				this.resultIsReadOnly = true;
			}
			internal Builder(UploadVoiceResponse cloneFrom)
			{
				this.result = cloneFrom;
				this.resultIsReadOnly = true;
			}
			private UploadVoiceResponse PrepareBuilder()
			{
				if (this.resultIsReadOnly)
				{
					UploadVoiceResponse other = this.result;
					this.result = new UploadVoiceResponse();
					this.resultIsReadOnly = false;
					this.MergeFrom(other);
				}
				return this.result;
			}
			public override UploadVoiceResponse.Builder Clear()
			{
				this.result = UploadVoiceResponse.DefaultInstance;
				this.resultIsReadOnly = true;
				return this;
			}
			public override UploadVoiceResponse.Builder Clone()
			{
				if (this.resultIsReadOnly)
				{
					return new UploadVoiceResponse.Builder(this.result);
				}
				return new UploadVoiceResponse.Builder().MergeFrom(this.result);
			}
			public override UploadVoiceResponse BuildPartial()
			{
				if (this.resultIsReadOnly)
				{
					return this.result;
				}
				this.resultIsReadOnly = true;
				return this.result.MakeReadOnly();
			}
			public override UploadVoiceResponse.Builder MergeFrom(IMessageLite other)
			{
				if (other is UploadVoiceResponse)
				{
					return this.MergeFrom((UploadVoiceResponse)other);
				}
				base.MergeFrom(other);
				return this;
			}
			public override UploadVoiceResponse.Builder MergeFrom(UploadVoiceResponse other)
			{
				return this;
			}
			public override UploadVoiceResponse.Builder MergeFrom(ICodedInputStream input)
			{
				return this.MergeFrom(input, ExtensionRegistry.Empty);
			}
			public override UploadVoiceResponse.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
			{
				this.PrepareBuilder();
				uint num;
				string text;
				while (input.ReadTag(out num, out text))
				{
					if (num == 0u && text != null)
					{
						int num2 = Array.BinarySearch<string>(UploadVoiceResponse._uploadVoiceResponseFieldNames, text, StringComparer.get_Ordinal());
						if (num2 < 0)
						{
							this.ParseUnknownField(input, extensionRegistry, num, text);
							continue;
						}
						num = UploadVoiceResponse._uploadVoiceResponseFieldTags[num2];
					}
					uint num3 = num;
					if (num3 <= 40u)
					{
						if (num3 <= 18u)
						{
							if (num3 == 0u)
							{
								throw InvalidProtocolBufferException.InvalidTag();
							}
							if (num3 == 10u)
							{
								this.result.hasFromUserName = input.ReadString(ref this.result.fromUserName_);
								continue;
							}
							if (num3 == 18u)
							{
								this.result.hasToUserName = input.ReadString(ref this.result.toUserName_);
								continue;
							}
						}
						else
						{
							if (num3 == 24u)
							{
								this.result.hasOffset = input.ReadUInt32(ref this.result.offset_);
								continue;
							}
							if (num3 == 32u)
							{
								this.result.hasLength = input.ReadUInt32(ref this.result.length_);
								continue;
							}
							if (num3 == 40u)
							{
								this.result.hasCreateTime = input.ReadUInt32(ref this.result.createTime_);
								continue;
							}
						}
					}
					else
					{
						if (num3 <= 64u)
						{
							if (num3 == 50u)
							{
								this.result.hasClientMsgId = input.ReadString(ref this.result.clientMsgId_);
								continue;
							}
							if (num3 == 56u)
							{
								this.result.hasMsgId = input.ReadUInt32(ref this.result.msgId_);
								continue;
							}
							if (num3 == 64u)
							{
								this.result.hasVoiceLength = input.ReadUInt32(ref this.result.voiceLength_);
								continue;
							}
						}
						else
						{
							if (num3 == 72u)
							{
								this.result.hasEndFlag = input.ReadUInt32(ref this.result.endFlag_);
								continue;
							}
							if (num3 == 82u)
							{
								BaseResponse.Builder builder = BaseResponse.CreateBuilder();
								if (this.result.hasBaseResponse)
								{
									builder.MergeFrom(this.BaseResponse);
								}
								input.ReadMessage(builder, extensionRegistry);
								this.BaseResponse = builder.BuildPartial();
								continue;
							}
							if (num3 == 88u)
							{
								this.result.hasCancelFlag = input.ReadUInt32(ref this.result.cancelFlag_);
								continue;
							}
						}
					}
					if (WireFormat.IsEndGroupTag(num))
					{
						return this;
					}
					this.ParseUnknownField(input, extensionRegistry, num, text);
				}
				return this;
			}
			public UploadVoiceResponse.Builder SetFromUserName(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasFromUserName = true;
				this.result.fromUserName_ = value;
				return this;
			}
			public UploadVoiceResponse.Builder ClearFromUserName()
			{
				this.PrepareBuilder();
				this.result.hasFromUserName = false;
				this.result.fromUserName_ = "";
				return this;
			}
			public UploadVoiceResponse.Builder SetToUserName(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasToUserName = true;
				this.result.toUserName_ = value;
				return this;
			}
			public UploadVoiceResponse.Builder ClearToUserName()
			{
				this.PrepareBuilder();
				this.result.hasToUserName = false;
				this.result.toUserName_ = "";
				return this;
			}
			public UploadVoiceResponse.Builder SetOffset(uint value)
			{
				this.PrepareBuilder();
				this.result.hasOffset = true;
				this.result.offset_ = value;
				return this;
			}
			public UploadVoiceResponse.Builder ClearOffset()
			{
				this.PrepareBuilder();
				this.result.hasOffset = false;
				this.result.offset_ = 0u;
				return this;
			}
			public UploadVoiceResponse.Builder SetLength(uint value)
			{
				this.PrepareBuilder();
				this.result.hasLength = true;
				this.result.length_ = value;
				return this;
			}
			public UploadVoiceResponse.Builder ClearLength()
			{
				this.PrepareBuilder();
				this.result.hasLength = false;
				this.result.length_ = 0u;
				return this;
			}
			public UploadVoiceResponse.Builder SetCreateTime(uint value)
			{
				this.PrepareBuilder();
				this.result.hasCreateTime = true;
				this.result.createTime_ = value;
				return this;
			}
			public UploadVoiceResponse.Builder ClearCreateTime()
			{
				this.PrepareBuilder();
				this.result.hasCreateTime = false;
				this.result.createTime_ = 0u;
				return this;
			}
			public UploadVoiceResponse.Builder SetClientMsgId(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasClientMsgId = true;
				this.result.clientMsgId_ = value;
				return this;
			}
			public UploadVoiceResponse.Builder ClearClientMsgId()
			{
				this.PrepareBuilder();
				this.result.hasClientMsgId = false;
				this.result.clientMsgId_ = "";
				return this;
			}
			public UploadVoiceResponse.Builder SetMsgId(uint value)
			{
				this.PrepareBuilder();
				this.result.hasMsgId = true;
				this.result.msgId_ = value;
				return this;
			}
			public UploadVoiceResponse.Builder ClearMsgId()
			{
				this.PrepareBuilder();
				this.result.hasMsgId = false;
				this.result.msgId_ = 0u;
				return this;
			}
			public UploadVoiceResponse.Builder SetVoiceLength(uint value)
			{
				this.PrepareBuilder();
				this.result.hasVoiceLength = true;
				this.result.voiceLength_ = value;
				return this;
			}
			public UploadVoiceResponse.Builder ClearVoiceLength()
			{
				this.PrepareBuilder();
				this.result.hasVoiceLength = false;
				this.result.voiceLength_ = 0u;
				return this;
			}
			public UploadVoiceResponse.Builder SetEndFlag(uint value)
			{
				this.PrepareBuilder();
				this.result.hasEndFlag = true;
				this.result.endFlag_ = value;
				return this;
			}
			public UploadVoiceResponse.Builder ClearEndFlag()
			{
				this.PrepareBuilder();
				this.result.hasEndFlag = false;
				this.result.endFlag_ = 0u;
				return this;
			}
			public UploadVoiceResponse.Builder SetBaseResponse(BaseResponse value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasBaseResponse = true;
				this.result.baseResponse_ = value;
				return this;
			}
			public UploadVoiceResponse.Builder SetBaseResponse(BaseResponse.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasBaseResponse = true;
				this.result.baseResponse_ = builderForValue.Build();
				return this;
			}
			public UploadVoiceResponse.Builder MergeBaseResponse(BaseResponse value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasBaseResponse && this.result.baseResponse_ != BaseResponse.DefaultInstance)
				{
					this.result.baseResponse_ = BaseResponse.CreateBuilder(this.result.baseResponse_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.baseResponse_ = value;
				}
				this.result.hasBaseResponse = true;
				return this;
			}
			public UploadVoiceResponse.Builder ClearBaseResponse()
			{
				this.PrepareBuilder();
				this.result.hasBaseResponse = false;
				this.result.baseResponse_ = null;
				return this;
			}
			public UploadVoiceResponse.Builder SetCancelFlag(uint value)
			{
				this.PrepareBuilder();
				this.result.hasCancelFlag = true;
				this.result.cancelFlag_ = value;
				return this;
			}
			public UploadVoiceResponse.Builder ClearCancelFlag()
			{
				this.PrepareBuilder();
				this.result.hasCancelFlag = false;
				this.result.cancelFlag_ = 0u;
				return this;
			}
		}
		public const int FromUserNameFieldNumber = 1;
		public const int ToUserNameFieldNumber = 2;
		public const int OffsetFieldNumber = 3;
		public const int LengthFieldNumber = 4;
		public const int CreateTimeFieldNumber = 5;
		public const int ClientMsgIdFieldNumber = 6;
		public const int MsgIdFieldNumber = 7;
		public const int VoiceLengthFieldNumber = 8;
		public const int EndFlagFieldNumber = 9;
		public const int BaseResponseFieldNumber = 10;
		public const int CancelFlagFieldNumber = 11;
		private static readonly UploadVoiceResponse defaultInstance;
		private static readonly string[] _uploadVoiceResponseFieldNames;
		private static readonly uint[] _uploadVoiceResponseFieldTags;
		private bool hasFromUserName;
		private string fromUserName_ = "";
		private bool hasToUserName;
		private string toUserName_ = "";
		private bool hasOffset;
		private uint offset_;
		private bool hasLength;
		private uint length_;
		private bool hasCreateTime;
		private uint createTime_;
		private bool hasClientMsgId;
		private string clientMsgId_ = "";
		private bool hasMsgId;
		private uint msgId_;
		private bool hasVoiceLength;
		private uint voiceLength_;
		private bool hasEndFlag;
		private uint endFlag_;
		private bool hasBaseResponse;
		private BaseResponse baseResponse_;
		private bool hasCancelFlag;
		private uint cancelFlag_;
		private int memoizedSerializedSize = -1;
		public static UploadVoiceResponse DefaultInstance
		{
			get
			{
				return UploadVoiceResponse.defaultInstance;
			}
		}
		public override UploadVoiceResponse DefaultInstanceForType
		{
			get
			{
				return UploadVoiceResponse.DefaultInstance;
			}
		}
		protected override UploadVoiceResponse ThisMessage
		{
			get
			{
				return this;
			}
		}
		public string FromUserName
		{
			get
			{
				return this.fromUserName_;
			}
		}
		public string ToUserName
		{
			get
			{
				return this.toUserName_;
			}
		}
		public uint Offset
		{
			get
			{
				return this.offset_;
			}
		}
		public uint Length
		{
			get
			{
				return this.length_;
			}
		}
		public uint CreateTime
		{
			get
			{
				return this.createTime_;
			}
		}
		public string ClientMsgId
		{
			get
			{
				return this.clientMsgId_;
			}
		}
		public uint MsgId
		{
			get
			{
				return this.msgId_;
			}
		}
		public uint VoiceLength
		{
			get
			{
				return this.voiceLength_;
			}
		}
		public uint EndFlag
		{
			get
			{
				return this.endFlag_;
			}
		}
		public BaseResponse BaseResponse
		{
			get
			{
				return this.baseResponse_ ?? BaseResponse.DefaultInstance;
			}
		}
		public uint CancelFlag
		{
			get
			{
				return this.cancelFlag_;
			}
		}
		public override bool IsInitialized
		{
			get
			{
				return this.hasOffset && this.hasLength && this.hasCreateTime && this.hasMsgId && this.hasVoiceLength && this.hasEndFlag && this.hasBaseResponse && this.BaseResponse.IsInitialized;
			}
		}
		public override int SerializedSize
		{
			get
			{
				int num = this.memoizedSerializedSize;
				if (num != -1)
				{
					return num;
				}
				num = 0;
				if (this.hasFromUserName)
				{
					num += CodedOutputStream.ComputeStringSize(1, this.FromUserName);
				}
				if (this.hasToUserName)
				{
					num += CodedOutputStream.ComputeStringSize(2, this.ToUserName);
				}
				if (this.hasOffset)
				{
					num += CodedOutputStream.ComputeUInt32Size(3, this.Offset);
				}
				if (this.hasLength)
				{
					num += CodedOutputStream.ComputeUInt32Size(4, this.Length);
				}
				if (this.hasCreateTime)
				{
					num += CodedOutputStream.ComputeUInt32Size(5, this.CreateTime);
				}
				if (this.hasClientMsgId)
				{
					num += CodedOutputStream.ComputeStringSize(6, this.ClientMsgId);
				}
				if (this.hasMsgId)
				{
					num += CodedOutputStream.ComputeUInt32Size(7, this.MsgId);
				}
				if (this.hasVoiceLength)
				{
					num += CodedOutputStream.ComputeUInt32Size(8, this.VoiceLength);
				}
				if (this.hasEndFlag)
				{
					num += CodedOutputStream.ComputeUInt32Size(9, this.EndFlag);
				}
				if (this.hasBaseResponse)
				{
					num += CodedOutputStream.ComputeMessageSize(10, this.BaseResponse);
				}
				if (this.hasCancelFlag)
				{
					num += CodedOutputStream.ComputeUInt32Size(11, this.CancelFlag);
				}
				this.memoizedSerializedSize = num;
				return num;
			}
		}
		private UploadVoiceResponse()
		{
		}
		public override void WriteTo(ICodedOutputStream output)
		{
			int arg_06_0 = this.SerializedSize;
			string[] uploadVoiceResponseFieldNames = UploadVoiceResponse._uploadVoiceResponseFieldNames;
			if (this.hasFromUserName)
			{
				output.WriteString(1, uploadVoiceResponseFieldNames[5], this.FromUserName);
			}
			if (this.hasToUserName)
			{
				output.WriteString(2, uploadVoiceResponseFieldNames[9], this.ToUserName);
			}
			if (this.hasOffset)
			{
				output.WriteUInt32(3, uploadVoiceResponseFieldNames[8], this.Offset);
			}
			if (this.hasLength)
			{
				output.WriteUInt32(4, uploadVoiceResponseFieldNames[6], this.Length);
			}
			if (this.hasCreateTime)
			{
				output.WriteUInt32(5, uploadVoiceResponseFieldNames[3], this.CreateTime);
			}
			if (this.hasClientMsgId)
			{
				output.WriteString(6, uploadVoiceResponseFieldNames[2], this.ClientMsgId);
			}
			if (this.hasMsgId)
			{
				output.WriteUInt32(7, uploadVoiceResponseFieldNames[7], this.MsgId);
			}
			if (this.hasVoiceLength)
			{
				output.WriteUInt32(8, uploadVoiceResponseFieldNames[10], this.VoiceLength);
			}
			if (this.hasEndFlag)
			{
				output.WriteUInt32(9, uploadVoiceResponseFieldNames[4], this.EndFlag);
			}
			if (this.hasBaseResponse)
			{
				output.WriteMessage(10, uploadVoiceResponseFieldNames[0], this.BaseResponse);
			}
			if (this.hasCancelFlag)
			{
				output.WriteUInt32(11, uploadVoiceResponseFieldNames[1], this.CancelFlag);
			}
		}
		public override int GetHashCode()
		{
			int num = base.GetType().GetHashCode();
			if (this.hasFromUserName)
			{
				num ^= this.fromUserName_.GetHashCode();
			}
			if (this.hasToUserName)
			{
				num ^= this.toUserName_.GetHashCode();
			}
			if (this.hasOffset)
			{
				num ^= this.offset_.GetHashCode();
			}
			if (this.hasLength)
			{
				num ^= this.length_.GetHashCode();
			}
			if (this.hasCreateTime)
			{
				num ^= this.createTime_.GetHashCode();
			}
			if (this.hasClientMsgId)
			{
				num ^= this.clientMsgId_.GetHashCode();
			}
			if (this.hasMsgId)
			{
				num ^= this.msgId_.GetHashCode();
			}
			if (this.hasVoiceLength)
			{
				num ^= this.voiceLength_.GetHashCode();
			}
			if (this.hasEndFlag)
			{
				num ^= this.endFlag_.GetHashCode();
			}
			if (this.hasBaseResponse)
			{
				num ^= this.baseResponse_.GetHashCode();
			}
			if (this.hasCancelFlag)
			{
				num ^= this.cancelFlag_.GetHashCode();
			}
			return num;
		}
		public override bool Equals(object value)
		{
			UploadVoiceResponse uploadVoiceResponse = value as UploadVoiceResponse;
			return uploadVoiceResponse != null && (this.hasFromUserName == uploadVoiceResponse.hasFromUserName && (!this.hasFromUserName || this.fromUserName_.Equals(uploadVoiceResponse.fromUserName_))) && (this.hasToUserName == uploadVoiceResponse.hasToUserName && (!this.hasToUserName || this.toUserName_.Equals(uploadVoiceResponse.toUserName_))) && (this.hasOffset == uploadVoiceResponse.hasOffset && (!this.hasOffset || this.offset_.Equals(uploadVoiceResponse.offset_))) && (this.hasLength == uploadVoiceResponse.hasLength && (!this.hasLength || this.length_.Equals(uploadVoiceResponse.length_))) && (this.hasCreateTime == uploadVoiceResponse.hasCreateTime && (!this.hasCreateTime || this.createTime_.Equals(uploadVoiceResponse.createTime_))) && (this.hasClientMsgId == uploadVoiceResponse.hasClientMsgId && (!this.hasClientMsgId || this.clientMsgId_.Equals(uploadVoiceResponse.clientMsgId_))) && (this.hasMsgId == uploadVoiceResponse.hasMsgId && (!this.hasMsgId || this.msgId_.Equals(uploadVoiceResponse.msgId_))) && (this.hasVoiceLength == uploadVoiceResponse.hasVoiceLength && (!this.hasVoiceLength || this.voiceLength_.Equals(uploadVoiceResponse.voiceLength_))) && (this.hasEndFlag == uploadVoiceResponse.hasEndFlag && (!this.hasEndFlag || this.endFlag_.Equals(uploadVoiceResponse.endFlag_))) && (this.hasBaseResponse == uploadVoiceResponse.hasBaseResponse && (!this.hasBaseResponse || this.baseResponse_.Equals(uploadVoiceResponse.baseResponse_))) && (this.hasCancelFlag == uploadVoiceResponse.hasCancelFlag && (!this.hasCancelFlag || this.cancelFlag_.Equals(uploadVoiceResponse.cancelFlag_)));
		}
		public override void PrintTo(TextWriter writer)
		{
			GeneratedMessageLite<UploadVoiceResponse, UploadVoiceResponse.Builder>.PrintField("FromUserName", this.hasFromUserName, this.fromUserName_, writer);
			GeneratedMessageLite<UploadVoiceResponse, UploadVoiceResponse.Builder>.PrintField("ToUserName", this.hasToUserName, this.toUserName_, writer);
			GeneratedMessageLite<UploadVoiceResponse, UploadVoiceResponse.Builder>.PrintField("Offset", this.hasOffset, this.offset_, writer);
			GeneratedMessageLite<UploadVoiceResponse, UploadVoiceResponse.Builder>.PrintField("Length", this.hasLength, this.length_, writer);
			GeneratedMessageLite<UploadVoiceResponse, UploadVoiceResponse.Builder>.PrintField("CreateTime", this.hasCreateTime, this.createTime_, writer);
			GeneratedMessageLite<UploadVoiceResponse, UploadVoiceResponse.Builder>.PrintField("ClientMsgId", this.hasClientMsgId, this.clientMsgId_, writer);
			GeneratedMessageLite<UploadVoiceResponse, UploadVoiceResponse.Builder>.PrintField("MsgId", this.hasMsgId, this.msgId_, writer);
			GeneratedMessageLite<UploadVoiceResponse, UploadVoiceResponse.Builder>.PrintField("VoiceLength", this.hasVoiceLength, this.voiceLength_, writer);
			GeneratedMessageLite<UploadVoiceResponse, UploadVoiceResponse.Builder>.PrintField("EndFlag", this.hasEndFlag, this.endFlag_, writer);
			GeneratedMessageLite<UploadVoiceResponse, UploadVoiceResponse.Builder>.PrintField("BaseResponse", this.hasBaseResponse, this.baseResponse_, writer);
			GeneratedMessageLite<UploadVoiceResponse, UploadVoiceResponse.Builder>.PrintField("CancelFlag", this.hasCancelFlag, this.cancelFlag_, writer);
		}
		public static UploadVoiceResponse ParseFrom(byte[] data)
		{
			return UploadVoiceResponse.CreateBuilder().MergeFrom(data).BuildParsed();
		}
		private UploadVoiceResponse MakeReadOnly()
		{
			return this;
		}
		public static UploadVoiceResponse.Builder CreateBuilder()
		{
			return new UploadVoiceResponse.Builder();
		}
		public override UploadVoiceResponse.Builder ToBuilder()
		{
			return UploadVoiceResponse.CreateBuilder(this);
		}
		public override UploadVoiceResponse.Builder CreateBuilderForType()
		{
			return new UploadVoiceResponse.Builder();
		}
		public static UploadVoiceResponse.Builder CreateBuilder(UploadVoiceResponse prototype)
		{
			return new UploadVoiceResponse.Builder(prototype);
		}
		static UploadVoiceResponse()
		{
			UploadVoiceResponse.defaultInstance = new UploadVoiceResponse().MakeReadOnly();
			UploadVoiceResponse._uploadVoiceResponseFieldNames = new string[]
			{
				"BaseResponse",
				"CancelFlag",
				"ClientMsgId",
				"CreateTime",
				"EndFlag",
				"FromUserName",
				"Length",
				"MsgId",
				"Offset",
				"ToUserName",
				"VoiceLength"
			};
			UploadVoiceResponse._uploadVoiceResponseFieldTags = new uint[]
			{
				82u,
				88u,
				50u,
				40u,
				72u,
				10u,
				32u,
				56u,
				24u,
				18u,
				64u
			};
			object.ReferenceEquals(micromsg.Proto.UploadVoiceResponse.Descriptor, null);
		}
	}
}
